using System;
using System.Collections.Generic;
using System.Text;
using GetTogether.Utility;

namespace GetTogether.Studio.Windows
{
    public class Config
    {
        public static string[] RecipientEmails;
        public static OriginalSettings Original = new OriginalSettings();
        public static GetTogether.Utility.ConfigManager.SystemMode Mode = ConfigManager.SystemMode.DEV;
        #region Function

        public static void InitConfig()
        {
            Config.Mode = (GetTogether.Utility.ConfigManager.SystemMode)NumberHelper.ToInt(ConfigHelper.GetAppSetting("Mode"), -1);
            Original.ReadSetting();
            Original.InitSetting();
        }
        #endregion
    }
}
